package com.tongshu.multiplefiles.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UploadConfig {
    public static String filePath;
    public static String tempPath;

    @Value("${upload.file.path}")
    public void setPath(String path) {
        this.filePath = path;
    }

    @Value("${upload.temp.path}")
    public void setTempPath(String tempPath) {
        this.tempPath = tempPath;
    }
}
